package com.sam.chat.constants;

public class ChatConstant {
    //APP端发的已读信号
    public static final String CHAT_READ_ACK  = "chat_read_ack";

    //redis 部分key -->app 首页列表 -单聊
    public static final String ROOM_LIST_SINGLE_KEY = "roomList_Single";

    //redis 部分key -->app 首页列表 -群聊
    public static final String ROOM_LIST_GROUP_KEY = "roomList_Group";

    //redis 部分key  -->聊天内容列表，标记未读
    public static final String UNREAD_CHAT_LIST_KEY = "unReadChatListKey";

    //redis 部分key  -->聊天内容列表，标记未读
    public static final String UNREAD_CHAT_LIST_GROUP_KEY = "unReadChatListGroupKey";

    //redis 群聊messageId 的key
    public static final String GROUP_MESSAGE ="groupMessageId";

    //单聊 0 ,群聊 1，公众号2
    public static final int SINGLE_CHAT = 0;
    public static final int GROUP_CHAT = 1;
    public static final int OFFICIAL_CHAT = 2;

    //聊天格式 文本 1     语音通话 5
    public static final int CHAT_TEXT = 1;
    public static final int CHAT_VOICE_CALL = 5;


}
